package com.hy.erp.inventory.service.interfaces;

import java.util.List ;

//import javax.ejb.Local ;

import com.hy.enterprise.framework.service.business.IBusinessService;
import com.hy.erp.inventory.pojo.Organisation;
import com.hy.erp.inventory.pojo.interfaces.IOrganisation;
import com.hy.erp.inventory.service.OrganisationService;
import com.hy.framework.lang.annotation.ImplementsBy;

/**
 * 
 * <ul>
 * <li>开发作者：李冰</li>
 * <li>设计日期：2010-10-13；时间：上午10:30:33</li>
 * <li>类型名称：IOrganisationService</li>
 * <li>设计目的：</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
//@Local
@ImplementsBy(OrganisationService.class)
public interface IOrganisationService extends IBusinessService //< IOrganisation >
{
	
	public boolean addOrganisation(
		                   			Organisation organisation );

	public boolean modifyOrganisation(
	                                Organisation organisation   );
	public String[] modifyOrganisation(Object[] objects);
	public Integer removeOrganisation(
		                               String [ ] organisationIds ) ;
	public String[] addOrganisation(Object[] objects);
	
	public List < Organisation > getOrganisationById(String[] Id);
	
	public List < Organisation > getAllOrganisation();
	
	public Organisation getOrganisationById(String id);
//	public Organisation getOrganisationById(AbstractPersistentEntity id);
	
	
	
	public List < IOrganisation > getAllOrganisationByTypeId();
	public List < IOrganisation > getAllDepartMentByTypeId();
	public List < IOrganisation > getAllTeamByTypeId();
	
}
